import axios from 'axios'

const instance = axios.create({
    baseURL: 'http://kumanxuan1.f3322.net:8881/cms'
});
instance.interceptors.request.use(function (config) {
    console.log('请求拦截器');
    return config;
  }, function (error) {
    return Promise.reject(error);
  });
  instance.interceptors.response.use(function (response) {
      console.log('响应拦截器');
    return response;
  }, function (error) {
    return Promise.reject(error);
  });
export default instance